package com.dm.biz.item.dao;

import com.dm.biz.item.pojo.DmItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface DmItemDao extends JpaRepository<DmItem,Long> {



    List<DmItem> findTop5ByIsBannerOrderByUpdatedTimeDesc(Long isBanner);

}
